{php} //dump($comment[$tableInfo[$columnNameKey]]);{/php}
<table class="table table-striped table-bordered table-hover">
    <thead>
    {php}//dump($comment);{/php}
    <tr>
        {volist name="tableInfoArray" id="tableInfo"}
        <th>{$comment[$tableInfo[$columnNameKey]]["comment"]}</th>
        {/volist}
        <td>操作</td>
    </tr>
    </thead>

    {literal}
        {volist name="{/literal}{$tableName}{literal}List" id="vo"}
    {/literal}

        <tr>
            {volist name="tableInfoArray" id="tableInfo"}
                <td>{literal}{$vo.{/literal}{$tableInfo[$columnNameKey]}}</td>
            {/volist}
            <td><a href="{literal}{:url( '/edit/',['id'=>$vo[id]])}{/literal}">编辑</a> |
                <a href="{literal}{:url('/delete/',['id'=>$vo[id])}{/literal}" onclick='return confirm("确定删除吗？")'>删除</a>
            </td>
        <tr>

    {literal}{/volist}{/literal}


</table>
{literal}{$page}{/literal}}